﻿/******************************************
* 模块名称：实体 DeptInfo
* 当前版本：1.0
* 开发人员：Moon-Guo
* 完成时间：2011/11/24
* 版本历史：此代码由 VB/C#.Net实体代码生成工具(EntitysCodeGenerate 4.2) 自动生成。
* 
******************************************/
using System;
using System.Data;
using System.Collections;
using System.Collections.Specialized;
using System.ComponentModel;

namespace SMTC.Model.TestCore
{
	/// <summary>
	/// 实体 DeptInfo
	/// </summary>
	[Serializable(),Description("Primary:ID")]
	public class DeptInfo
	{
        #region 构造函数
        /// <summary>
        /// 实体 DeptInfo
        /// </summary>
        public DeptInfo(){}
        #endregion

        #region 私有变量
        private Int32 _id = Int32.MinValue;
        private string _deptname = null;
        private Int32 _workers = Int32.MinValue;
        private string _description = null;
        #endregion

        #region 公共属性
        /// <summary>
        /// 主键 ID(NOT NULL)
        /// </summary>
        public Int32 ID
        {
            set{ _id=value;}
            get{return _id;}
        }
        /// <summary>
        /// DeptName
        /// </summary>
        public string DeptName
        {
            set{ _deptname=value;}
            get{return _deptname;}
        }
        /// <summary>
        /// Workers
        /// </summary>
        public Int32 Workers
        {
            set{ _workers=value;}
            get{return _workers;}
        }
        /// <summary>
        /// Description
        /// </summary>
        public string Description
        {
            set{ _description=value;}
            get{return _description;}
        }
        #endregion
	}


}
